package com.bzkj.web.controller.basicInfo;

import com.bzkj.common.core.controller.BaseController;
import com.bzkj.common.core.page.TableDataInfo;
import com.bzkj.msfx.domain.fileTransfer.ErpFileInfo;
import com.bzkj.msfx.service.fileTransfer.ErpFileInfoService;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * @author C1309
 * @ClassName ErpFileInfoController
 * @description: TODO 已抓取的关联关系文件信息控制层
 * @date 2024年01月10日
 * @version: 1.0
 */
@RestController
@RequestMapping("/btrh/fileInfo")
public class ErpFileInfoController extends BaseController {

    @Resource
    private ErpFileInfoService erpFileInfoService;


    /**
     * 查询已经抓取到的关联关系文件信息
     *
     * @return 查询结果
     */
    @GetMapping
    @ApiOperation(value = "查询已经抓取到的关联关系文件信息")
    public TableDataInfo selectFileInfos(ErpFileInfo erpFileInfo) {
        return erpFileInfoService.selectFileInfos(erpFileInfo);
    }
}
